package com.bwie.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bwie.pojo.ProductImg;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ProductImgMapper extends BaseMapper<ProductImg> {

    @Select("select id,product_id,url from product_img where product_id = #{id}")
    List<ProductImg> findProductImgList(Integer id);
}
